From 126a693149ce04a4a8e51bf86be12fb8b54627e5 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 10 Aug 2010 15:40:46 +0000 Subject: [PATCH] Warning fix for MSVC. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4010 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/jeeps/gpsapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/jeeps/gpsapp.c b/gpsbabel/jeeps/gpsapp.c index d84066747..e8b5fc755 100644 --- a/gpsbabel/jeeps/gpsapp.c +++ b/gpsbabel/jeeps/gpsapp.c @@ -7413,7 +7413,7 @@ void GPS_Prepare_Track_For_Device(GPS_PTrack **trk, int32 *n) GPS_PTrack trkpt = GPS_Track_New(); *trkpt = *((*trk)[j]); trkpt->no_latlon = 1; - trkpt->alt = 1e25; + trkpt->alt = (float) 1e25; trkpt->distance_populated = 0; trkpt->heartrate = 0; trkpt->cadence = 0xff; -- 2.30.2